package com.nuoniu.sibanyun.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nuoniu.sibanyun.entity.SysLog;
import com.nuoniu.sibanyun.entity.dto.SysLogDto;
import com.nuoniu.sibanyun.userThread.UserInfo;
import org.aspectj.lang.ProceedingJoinPoint;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 操作日志表 服务类
 * </p>
 *
 * @author baiqiang
 * @since 2020-04-23
 */
public interface ISysLogService extends IService<SysLog> {

    Page pageLogs(Page page, SysLogDto params);

    void saveLogOut();

    void addOperationLog(ProceedingJoinPoint joinPoint, Object res, long time,  HttpServletRequest request, UserInfo userInfo);
}
